package com.qj.daibei.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * author zyc
 * Created by sugar zhang on 2021/9/22 11:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {
    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String userName;
    private String trueName;
    private String sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birth;
    private String tel;
    private String province;
    private String city;
    private String district;
    private String address;
    private Integer idType;
    private String idCard;
    private String password;
    private String email;
    private String qq;
    private String weChat;
    private String industry;
    private String userType;
    private Integer succReqNum;
    private Integer overdueNum;
    private Integer rewardPoints;
    private Integer creditPoints;
    private Float pinMoney;
    private Integer info;
    private String avatar;
    private String fillIn; // 是否填写
    private String comment;
}
